import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import qs from 'qs'
import store from './store'
import { setStore,getStore,removeStore } from './lib/localStorage'
import http from './request/http'

Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$qs = qs
Vue.prototype.$setStore = setStore
Vue.prototype.$getStore = getStore
Vue.prototype.$removeStore = removeStore
Vue.prototype.$http = http

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
